<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .highlight {
            color: goldenrod;
            background-color: black;
            text-transform: uppercase;
            text-indent: 20px;
        }

        .highlight:hover {
            color: white;
            background-color: darkgray;
        }
    </style>
</head>

<body>
    <p class="highlight">这是一段需要高亮显示的文本。</p>


</body>

</html>